﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="CNVP.JShop.Web.Admin.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title><%=CNVP.Config.UIConfig.SiteName%></title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="IE=7" http-equiv="X-UA-Compatible" />
    <script src="../Scripts/jquery.js" type="text/javascript"></script>
    <link href="CSS/Global.css" rel="stylesheet" type="text/css" />
    <link href="CSS/Style.css" rel="stylesheet" type="text/css" />
    <script src="JS/Common.js" type="text/javascript"></script>
    <script type ="text/javascript">
        $(function () {
            $("#btLogin").click(function () { 
                var $txtUserName = $("#txtUserName");
                var $txtUserPwd = $("#txtUserPwd");
                var $txtVerifyCode = $("#txtVerifyCode");
                if ($txtUserName.val() == "") {
                    alert("请输入用户名!");
                    $txtUserName.focus();
                    return false;
                }
                if ($txtUserPwd.val() == "") {
                    alert("请输入密码!");
                    $txtUserPwd.focus();
                    return false;
                }
                if ($txtVerifyCode.val() == "") {
                    alert("请输入验证码!");
                    $txtVerifyCode.focus();
                    return false;
                }
                return true;
            })
        }) 
    </script>
</head>
<body >
    
    <div class="LoginBox" id="LoginBox" >
        <div class="TopLinks"><a href="http://www.cnvp.com.cn" title="捷点科技" target="_blank">官方网站</a> | <a href="#" target="_blank">意见反馈</a> | <a href="#" target="_blank">帮助中心</a></div>
        <div style=" clear:both;">
        <div class="LoginBoxForm">
        <form id="form1" action="?action=login" method="post" >
            <dl>
                <dt>请输入登录信息</dt>
                <dd>
                    <ul>
                        <li class="clearfix"><span class="LoginTipWord"><label for="txtUserName" >用户名：</label></span><span class="LoginCtrl"><input type="text" name="txtUserName" id="txtUserName" maxlength="20" /></span></li>
                        <li class="clearfix"><span class="LoginTipWord"><label for="txtUserPwd" >密　码：</label></span><span class="LoginCtrl"><input  name="txtUserPwd" type="password" maxlength="20" id="txtUserPwd" /></span></li>
                        <li class="clearfix"><span class="LoginTipWord"><label for="txtVerifyCode" >验证码：</label></span><span class="LoginCtrl"><input name="txtVerifyCode" type="text" id="txtVerifyCode" maxlength="5" size="8"/> &nbsp;<img align="top" class="VerifyCodeImg" src="../Controls/VerifyCodeImage.aspx" onclick ="this.src='../Controls/VerifyCodeImage.aspx?'+Math.random()" title="点击刷新" style="cursor:pointer;"  alt="点击刷新" />
                        </span></li>
                        <li class="clearfix"><span class="LoginTipWord"><img src="Images/Dot02.png" alt="" /></span><span class="LoginCtrl"><input type="submit" value="登    录"  name="btLogin" id="btLogin" /></span></li>
                    </ul>
                </dd>
            </dl>
        </form>
        </div>
        </div>
</body>
</html>
